<?
require("includes/constants.php");
require("includes/funciones.inc.php");

session_start();
if(!isset($_SESSION['nombreUsuario']))
	exit();

?>
<div class="form_settings">
	<form id="pickingPopForm" name="pickingPopForm" method="post">
		<p>
			<span>Fecha</span>
			<input id="fecha" name="fecha" type="text" style="width: 90px;">
		</p>
		<p>
			<span>Cliente</span>
			<input id="cliente" name="cliente" type="text">
		</p>		
		<table id="dt_pickingItems" class="display">
			<thead>
				<tr>
					<th>Acci&oacute;n</th>
					<th>Cod. Articulo</th>
					<th>Descripci&oacute;n</th>
					<th>Variedad</th>
					<th>Cant. Pedido</th>
					<th>Unidad Pedido</th>
					<th>Cantidad</th>
					<th>Unidad</th>
				</tr>
		    </thead>
		    <tbody>
		    	<tr>
		    		<td colspan="8" class="dataTables_empty">Cargando Datos</td>
		    	</tr>
			</tbody>
		</table>
		<p style="padding-top: 15px; float: right;">
			<span>&nbsp;</span>
			<input class="submit" type="button" name="btnGuardar" id="btnGuardar" value="Guardar" />
			<input class="submit" type="button" name="btnCerrar" id="btnCerrar" value="Cerrar" />
		</p>
	</form>
</div>

<!-- PopUp Picking Item Dialog -->
<div id="pickingItemDialog"></div>

<script>
	$(document).ready(function() {
		$_initPop();
	});
</script>